翻訳と辞書
Words near each other
・ Convention on the Protection and Use of Transboundary Watercourses and International Lakes
・ Convention on the Recognition and Enforcement of Foreign Arbitral Awards
・ Convention on the recognition of decisions recording a sex reassignment
・ Convention on the Recognition of Registered Partnerships
・ Convention on the Recovery Abroad of Maintenance
・ Convention on the Reduction of Statelessness
・ Convention on the Regulation of Antarctic Mineral Resource Activities
・ Convention on the Rights of Persons with Disabilities
・ Convention on the Rights of the Child
・ Convention on the Safety of United Nations and Associated Personnel
・ Convention on the Territorial Sea and the Contiguous Zone
・ Convention on the Transboundary Effects of Industrial Accidents
・ Convention on the Transfer of Sentenced Persons
・ Convention on the Unification of Certain Points of Substantive Law on Patents for Invention
・ Convention on Transit Trade of Land-locked States
Convention over Code
・ Convention over configuration
・ Convention Parliament
・ Convention Parliament (1689)
・ Convention Parliament (England)
・ Convention People's Party
・ Convention People's Party (Sierra Leone)
・ Convention People's Party of Nigeria and the Cameroons
・ Convention Relating to the Distribution of Programme-Carrying Signals Transmitted by Satellite
・ Convention relating to the Status of Refugees
・ Convention relating to the Status of Stateless Persons
・ Convention Relative to the Preservation of Fauna and Flora in their Natural State
・ Convention to propose amendments to the United States Constitution
・ Convention travel document
・ Conventional electrical unit


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Convention over Code : ウィキペディア英語版
Convention over Code

Convention over Code is a design approach for programming languages where the conventional use of a feature is taken into consideration when defining the default semantics of the feature. Similar to Convention over Configuration, if a keyword can be implied by its absence due to convention, it becomes less a part of the idea the coder is expressing and a part of the hidden implementation.
A common, notorious example is found in Java and C#. We find the keyword public infused throughout a typical Java code excerpt, and in the case of methods it implies public scope access. In practice, more methods use public scope access than the other three: private, protected and package protected (which happens to be the actual Java default). While a matter of opinion and much debate by programmers that love to be explicit about everything, it is clear that leaving out scope access keywords altogether takes very little away from the actual expression of an idea in code, because it has nothing to do with the idea at all, it is an attribute of the implementation of an idea.
Convention over Code means we would make public the default for methods, and make better use of keyword Huffman coding in language design.
== See also ==

* Convention over Configuration
* Ruby on Rails
* Spring Framework
* Cola (programming language)

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Convention over Code」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.